package cn.com.chengmandian.bike.mapper;

import cn.com.chengmandian.bike.dto.MessageInfoDto;
import cn.com.chengmandian.bike.model.EbMessageInfo;
import cn.com.chengmandian.bike.model.vo.MessageInfoVo;
import cn.com.chengmandian.bike.model.vo.SysMessageTotalVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 电单车运营-用户消息 Mapper 接口
 * </p>
 *
 * @author AutoGenerator
 * @since 2021-12-30
 */
@Mapper
public interface EbMessageInfoMapper extends BaseMapper<EbMessageInfo> {

    IPage<MessageInfoVo> getPage(Page<Object> of,@Param("messageInfo") MessageInfoDto messageInfoDto);

    SysMessageTotalVo total(@Param("memberId") Integer memberId);
}
